<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
<%--    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">--%>
    <link rel="icon" href="../../favicon.ico" type="image/x-icon"/>
    <title>主页</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="../../css/bj.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">达理书城</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/home">控制台</a></li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/toInsertBook">商品管理</a></li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/user">用户</a></li>
            <li class="layui-nav-item">
                <a href="${pageContext.request.contextPath}/grzy">网页导航</a>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="../../image/tx.jpg" class="layui-nav-img">
                    ${name}
                </a>
            </li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/userout">退出登录</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="${pageContext.request.contextPath}/selectAllBook">所有图书</a>
                    <dl class="layui-nav-child">
                        <dd><a href="${pageContext.request.contextPath}/wxl">文学类</a></dd>
                        <dd><a href="${pageContext.request.contextPath}/dml">动漫类</a></dd>
                        <dd><a href="${pageContext.request.contextPath}/kjl">科技类</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="${pageContext.request.contextPath}/Borrow">关于借阅</a>
                </li>
                <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/journal">本站日志</a></li>
                <li class="layui-nav-item"><a href="">设置</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
            <legend style="color: lightskyblue">欢迎光临</legend>
        </fieldset>
        <div style="float: right" >
            <div id="he-plugin-standard"></div>
            <script>
                WIDGET = {
                    "CONFIG": {
                        "layout": "2",
                        "width": 400,
                        "height": 450,
                        "background": "1",
                        "dataColor": "FFFFFF",
                        "borderRadius": "5",
                        "key": "14b50cbb96a54c72bf7e9e80ce7157de"
                    }
                }
            </script>
            <script src="https://widget.qweather.net/standard/static/js/he-standard-common.js?v=2.0"></script>
        </div>
        <div style="padding: 15px;">
            <font face="楷体"><p style="font-size: xxx-large;color: lightskyblue">今天是</p><span id="time" style="font-size: xxx-large;color: lightskyblue"></span></font>
            <br>
            <font face="楷体"><p style="font-size: xxx-large;color: lightskyblue">尊贵的${name},今天你爽了🐎</p></font>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        &copy 2020-2021 吴劲松|<a href="../../关于我.html" >关于我</a> 501664112@qq.com | 当前在线人数: ${OnlineCount} |
    </div>
</div>
<script type="text/javascript" src="../../js/jquery-3.3.1.js"></script>
<script>
    window.onload =function Time(){
        var time = new Date();
        var Month = time.getUTCMonth()+1;
        document.getElementById("time").innerText=time.getUTCFullYear()+"年"+Month+"月"+time.getUTCDate()+"日";
    }
</script>
</body>
</html>